home *** CD-ROM | disk | FTP | other *** search
/ Word Perfect Main Street: Paper Planes / WordPerfect Main Street - Paper Planes.iso / mac / p13-16 / 00033_Script_33 < prev    next >
Text File  |  1994-06-14  |  404b  |  16 lines

  1. on exitFrame
  2.   global Plane, Step, NumSteps
  3.   global ReturnFrame
  4.   set toFrame = label("P" & string(Plane) & "S" & string(Step))
  5.   if ReturnFrame > (toFrame + 1) then
  6.     if Step = NumSteps then
  7.       go to toFrame + 10  -- offset to "after play" for last frame
  8.     else
  9.       go to toFrame + 7  -- offset to "after play" frame
  10.     end if
  11.   else
  12.     go to toFrame
  13.   end if
  14.   cursor -1
  15. end
  16.